package mazeBueno2;

public class Point {
	private int x;
	private int y;
	private int startDir;
	private int dir;
	
	public Point(int x, int y,int startDir) {
		this.x = x;
		this.y = y;
		this.startDir = startDir;
		this.dir = startDir;
	}
	
	public int getX() {
		return this.x;
	}
	public int getY() {
		return this.y;
	}
	public int getDir() {
		return this.dir;
	}
	public int getStartDir() {
		return this.startDir;
	}

	public int nextDir() {
		this.dir = (this.dir+3)%4;
		return this.dir;
	}
	
}
